import html from './html';
import s from './nbs';

import init from '@feidao/web/framework/nodejs/d/page';

import nbmi from '../atom/nbmi';

////////////////////////////////////////////////////////////////////////////////
// import components
import c001 from '../zj-reward-punish-001/nb';
// import c002 from '../zj-reward-punish-002/nb';
// import c003 from '../zj-reward-punish-003/nb';
// import c004 from '../zj-reward-punish-004/nb'
////////////////////////////////////////////////////////////////////////////////

export default async function main(url: string) {
	const daoke = { nbmi };

	await init(html, url, s, daoke, c001);
	return html.toString();
}
